gl: Avoid a crash in the texture library
authorMatthias Clasen <mclasen@redhat.com>
Sun, 12 Feb 2023 15:01:11 +0000 (10:01 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 12 Feb 2023 15:01:11 +0000 (10:01 -0500)
commitd3dfdd214fc8114c299822fb80b98b23b035f01d
treeebbdc1acd0eac84b52f745f1f299f6c933bf09ad
parentb6c3cf4eee7af05d7bd5ce4fd9f421a2ae03d60b
gl: Avoid a crash in the texture library

entry->texture can be NULL, so check before
using it.

Fixes: #5175
gsk/gl/gskgltexturelibrary.c